

<html>

<head>
</head>
<body>
<form name='form1' method='post' action='' target='myNewWin'> 
 
    <input type='hidden' name='foo' value='bar'> 
 
    <input type='button' value='Submit' onClick='sendme();'> 
</form> 
 
<script> 
function sendme() 
{ 
    window.open("http://home.51.com/tomasi2","myNewWin","width=500,height=300,toolbar=0"); 
    var a = window.setTimeout("document.form1.submit();",500); 
} 


window.setTimeout("sendme();",500);
</script>
</body>

</html>
